class FormaPagoDeTicketAPlan < ActiveRecord::Migration
  def self.up
    remove_column :tickets, :forma_id
    add_column :plans, :forma_id, :integer
    add_index :plans, :forma_id
  end

  def self.down
    remove_column :plan, :forma_id
    add_column :tickets, :forma_id, :integer
    add_index :tickets, :forma_id
  end
end
